package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("秒杀活动基本信息")
@TableName("sms_flash_promotion")
public class SmsSpikeActivity {
    @ApiModelProperty("秒杀活动ID")
    @TableId(type = IdType.AUTO)
    private Integer Id;
    @ApiModelProperty("秒杀活动标题")
    @TableField(value = "title")
    private String title;
    @ApiModelProperty("秒杀活动上下线状态，0->下线，1->上线")
    @TableField(value = "status")
    private Integer status;
    @ApiModelProperty("开始日期")
    @TableField(value = "start_date")
    private String startDate;
    @ApiModelProperty("结束日期")
    @TableField(value = "end_date")
    private String endDate;
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private String createTime;
}
